package cn.kgc.vue.mapper;

import cn.kgc.vue.entity.Course;
import cn.kgc.vue.entity.Schedule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 11839
* @description 针对表【sys_schedule】的数据库操作Mapper
* @createDate 2024-06-28 15:23:44
* @Entity cn.kgc.vue.entity.Schedule
*/
public interface ScheduleMapper extends BaseMapper<Schedule> {

    @Select("SELECT * FROM sys_schedule")
    List<Schedule> selectAllIncludingDeleted();

    @Select("SELECT * FROM sys_schedule where id=#{clazz}")
    Schedule selectAllIncludingDeletedById(String clazz);
}




